home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000322_b.stewart@bom.gov.au_Tue Feb 18 08:53:59 EST 2003.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
4KB
|
80 lines
Article: 14118 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!ken-transit.news.telstra.net!news.telstra.net!vicpull1.telstra.net!not-for-mail
Message-ID: <3E518707.D695EA5B@bom.gov.au>
From: Bruce Stewart <b.stewart@bom.gov.au>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Running multiple kermit scripts on one connection
References: <775a2ab0.0302171458.f8f21f9@posting.google.com> <b2rrbl$ks3$1@watsol.cc.columbia.edu> <3E517E98.D89D779C@bom.gov.au> <b2rvbh$nnc$1@watsol.cc.columbia.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 58
Date: Tue, 18 Feb 2003 12:06:15 +1100
NNTP-Posting-Host: 134.178.5.131
X-Complaints-To: abuse@telstra.net
X-Trace: vicpull1.telstra.net 1045530156 134.178.5.131 (Tue, 18 Feb 2003 12:02:36 EST)
NNTP-Posting-Date: Tue, 18 Feb 2003 12:02:36 EST
Organization: Customer of Telstra Internet Direct
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14118
Well, I tried it from c++. Opening a handle and then tried to run kermit with
the command-line option -l _<device_handle>. It still didn't work giving
the same error message "can't open device".
If its in the documentation, I would imagine that its been tested by the kermit
developers. Is their an email with which to contact kermit makers for help?
Frank da Cruz wrote:
> In article <3E517E98.D89D779C@bom.gov.au>,
> Bruce Stewart <b.stewart@bom.gov.au> wrote:
> :
> : --------------0E4B00F8CCF00119C91BFB8D
> : Content-Type: text/plain; charset=us-ascii
> : Content-Transfer-Encoding: 7bit
> :
> : OK, that second method sounds like it would do the job. I will give it a try
> : but first I want to ask you another question.
> :
> : I have been looking at the documentation and found the following under
> : Command-line options:
> :
> : -l _number
> :
> : where number refers to the Windows device handle for a communication
> : connection that has already been opened by another process.
> :
> I thought of suggesting that but to be frank :-) I don't know if Windows
> device handles are valid only within a process tree, or system-wide.
> I suppose it's worth a shot.
>
> : I tried the following to test it:
> : 1-I opened a kermit instance, and opened a connection to com port
> : 2, which is where the modem is connected.
> : 2-I then tried to open another instance of kermit using the follwoing
> : line:
> : run k95 -l _\v(ttyfd),
> :
> : but got the following respose when the other kermit instance opened:
> :
> : "can't open device",
> :
> : Now, I don't know whether the file descriptor is the same as the
> : windows device handle. Maybe they are totally different. I will try doing
> : it from the program, opening a device handle and passing that into each
> : kermit instance. Hopefully that will work.
> :
> Either the process handle is not valid or else you can't have the same
> device opened for read/write access by two different processes.
> Somebody else might answer later with better information.
>
> Another possibility, of course, is to configure the modem to ignore DTR and
> Kermit to ignore CD. Then you can open and close the port all you like, but
> then it's no longer straightforward to catch broken connections, and you
> can no longer hang up a connection simply by closing the port.
>
> - Frank